package com.springboot.pipeline.controller;

import com.springboot.pipeline.service.ModelService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author dapeng.qiu
 */
@RestController
@RequestMapping("/pi")
public class PiController {
    @Resource
    private ModelService modelService;

    @GetMapping("/getPi")
    public void getPip(){
        modelService.buildModelInstance();
    }
}
